package Vista;

import java.awt.FlowLayout;
import java.awt.GridLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

import Controlador.CntrlSeccion;

public class vistaPromedio extends JFrame {
	private static final long serialVersionUID = 1L;
	public JTextField txtPromedio;
	public JLabel lblPromedio;

	//Constructor de la Clase
	public vistaPromedio() {
		
		setTitle("  ***LABORATORIO I***");
		setSize(250,100);
		setLocation(400,200);
		setResizable(false);
		setLayout(new FlowLayout(FlowLayout.CENTER));
	
		txtPromedio = new JTextField(5);		
		lblPromedio = new JLabel("Promedio de la seccion");	
		
		JPanel panel1= new JPanel(new FlowLayout(FlowLayout.LEFT));
		panel1.add(lblPromedio);
		panel1.add(txtPromedio);
	

		add(panel1);
		
	}
}
